package com.flyinzhen.customer.dto.input;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@ApiModel(value = "IdCardSaveInput", description = "身份信息保存输入类")
public class IdCardSaveInput implements Serializable {

	private static final long serialVersionUID = 1L;

    @NotBlank
    @ApiModelProperty(value = "客户号", required = true)
    private String userId;

	@NotBlank
    @ApiModelProperty(value = "身份证号", required = true)
    private String idNum;

    @NotBlank
	@ApiModelProperty(value = "姓名", required = true)
	private String name;

    @ApiModelProperty(value = "出生日期")
    private String birthday;

    @ApiModelProperty(value = "出生地址")
    private String birthAddress;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "婚姻状态")
    private String marriage;

    @ApiModelProperty(value = "宗教")
    private String region;

    @NotBlank
    @ApiModelProperty(value = "状态", required = true)
    private String status;
}
